package ck.com.pojo;

import java.io.Serializable;

public class DeliveryOrderDetail implements Serializable {

    private Integer id;
    private Integer deliveryOrderId;
    private Integer goodsId;
    private Integer quantityOfGoods;
    private Integer quantityReceived;
    private Integer quantityOfDefectiveGoods;
    private Byte goodsStatus;

    //新增的属性
    private String  goodsName;

    public Integer getQuantityReceived() {
        return quantityReceived;
    }

    public void setQuantityReceived(Integer quantityReceived) {
        this.quantityReceived = quantityReceived;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    private static final long serialVersionUID = 1L;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getDeliveryOrderId() {
        return deliveryOrderId;
    }
    public void setDeliveryOrderId(Integer deliveryOrderId) {
        this.deliveryOrderId = deliveryOrderId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getQuantityOfGoods() {
        return quantityOfGoods;
    }

    public void setQuantityOfGoods(Integer quantityOfGoods) {
        this.quantityOfGoods = quantityOfGoods;
    }

    public Integer getQuantityOfDefectiveGoods() {
        return quantityOfDefectiveGoods;
    }

    public void setQuantityOfDefectiveGoods(Integer quantityOfDefectiveGoods) {
        this.quantityOfDefectiveGoods = quantityOfDefectiveGoods;
    }

    public Byte getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Byte goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deliveryOrderId=").append(deliveryOrderId);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", quantityOfGoods=").append(quantityOfGoods);
        sb.append(", quantityReceived=").append(quantityReceived);
        sb.append(", quantityOfDefectiveGoods=").append(quantityOfDefectiveGoods);
        sb.append(", goodsStatus=").append(goodsStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}